home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.misc
- Path: netcom.com!dkaupp
- From: dkaupp@netcom.com (Blitter)
- Subject: Re: Amigados - checking for a file
- Message-ID: <dkauppDpFM1L.JMI@netcom.com>
- Organization: >nil:
- X-Newsreader: TIN [version 1.2 PL1]
- References: <401.6670T240T431@nibelung.demon.co.uk> <dkauppDpFLpD.J4D@netcom.com>
- Date: Sat, 6 Apr 1996 08:24:57 GMT
- Sender: dkaupp@netcom19.netcom.com
-
- Blitter (dkaupp@netcom.com) wrote:
- : Barry Shilliday (barry.1@nibelung.demon.co.uk) wrote:
- : : What would be the format to check the existence of a file in a script for dos?
- : : I would have thought something like this:
-
- : : If EXISTS blah:filename
- : : dowhatever
- : : else
- : : dothatinstead
- : : endif
- : : endif
-
- : : but this doesn't work.
-
- : I'm not sure if you mean the else doesn't work ( I can't check tha
- : manual, in the middle of moving).
-
- Ooops, just notices an extra ENDIF.... That may be the prob. once again
- I dont have a manual handy or the error message from the script.
-
-
- --
- Dave dkaupp@netcom.com // Kell the Atheist
- AMIGA Technologies Homepage //The Amiga Web Directory kills 12, claims
- www.amiga.de \\//www.cucug.org/amiga.html Darwin made me do it.
- Quote from PC friend:'Are you on the Net?' 'Yes.' 'And you have music playing
- on your computer!?'.... Doh!!! Ya that and a few other things running..
-